The Dreamweaver JavaScript API > Behavior functions > dom.getBehavior()

 

site.get()

Availability

Dreamweaver 3.0

Description

Gets the specified files and handles dependent files in one of the following ways:

If the user selected Prompt on Get/Check Out in the Site FTP preferences, the Dependent Files dialog box appears.
If the user at some point selected the Don't Show Me Again option in the Dependent Files dialog box and then clicked Yes, dependent files are downloaded and no dialog box appears.
If the user at some point selected the Don't Show Me Again option in the Dependent Files dialog box and then clicked No, dependent files are not downloaded and no dialog box appears.

Arguments

siteOrURL

siteOrURL must be the keyword "site", indicating that the function should act on the selection in the Site window or on the URL for a single file.

Returns

Nothing.

Enabler

site.canGet()